package com.cloud.alarm.demo;

import com.cloud.alarm.dinger.core.annatations.DingerScan;
import com.cloud.alarm.dinger.multi.annotations.EnableMultiDinger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author shuai.zhou
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@DingerScan(basePackages = "com.cloud.alarm.demo.dao")
// 启用多机器人配置功能
@EnableMultiDinger
public class SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }

}
